/*
 * Copyright (C) 2016 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

@import "base/environment";
@import "components/ic-theme-card";

.ic-ThemeCard-container {
  + .ic-ThemeCard-container { margin-bottom: $ic-sp*3; }
}

.ic-ThemeCard-container__Main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start; // keeps height in check on card when current card is selected
}

.ic-ThemeCard-container__Heading {
  @include fontSize(14px);
  position: relative;
  line-height: 1;
  text-align: center;
  color: $ic-font-color--subdued;
  margin: 0 0 $ic-sp*2;
  &:before {
    content: "";
    position: absolute;
    top: 50%; left: 0;
    height: 1px; width: 100%;
    background: $ic-border-light;
  }
}

.ic-ThemeCard-container__Heading-text {
  display: inline-block;
  background: $ic-color-light;
  position: relative;
  z-index: 1;
  padding-left: $ic-sp;
  padding-right: $ic-sp;
}
.ic-ThemeCard-add-template-menu {
  .ui-menu-item a {
    min-width: 240px; // override default kyle menu width
    padding-left: $ic-sp*2;
    padding-top: $ic-sp/4;
    padding-bottom: $ic-sp/4;
  }
}
